package facade;

/**
 * @author shenhan
 * @create 2020/4/3 16:18
 * @description
 */
public class DVDPlayer {
    private static DVDPlayer instance = new DVDPlayer();

    public static DVDPlayer getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("dvd 打开");
    }

    public void close() {
        System.out.println("dvd 关闭");
    }

    public void play() {
        System.out.println("dvd 开始播放");
    }

    public void pause() {
        System.out.println("dvd 暂停播放");
    }

}
